const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // 获取用户名
  name: state => state.user.name,
  //获取token--------------------------------------------
  token: state => state.user.token,
  //获取商店uuid--------------------------------------------
  shopUuid: state => state.user.shopUuid,
  // 获取当前uuid
  uuid: state => state.user.user.uuid,
  //获取路由--------------------------------------------
  routes: state => state.menu.routes,
  //获取编辑按钮列表
  pageBtn: state => state.menu.pageBtn,
  //获取头部button按钮--------------------------------------------
  pageTopBtn: state => state.menu.pageTopBtn
};
export default getters;
